<h2> Lista de Professores </h2>
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="table">
    <!-- table header -->
    <tr class="table_header">
        <td valign="middle" align="left">Matrícula</td>
        <td valign="middle" align="left">Nome</td>
        <td valign="middle" align="left">E-mail</td>
        <td valign="middle" align="left">Opções</td>
    </tr>
    <?php
    foreach ($professores as $professor) {
        echo '<!-- row type one -->
    <tr class="row1">
        <td valign="middle" align="left"><a href="/admin/detalhesProfessor/'.$professor["id"].'">'.$professor["username"].'</td>
        <td valign="middle" align="left"><a href="/admin/detalhesProfessor/'.$professor["id"].'">'.$professor["nome"].'</a></td>
        <td valign="middle" align="left">'.$professor["email"].'</td>
        <td valign="middle" align="left"><a href="/admin/excluirProfessor/'.$professor["id"].'">Excluir</a></td>
    </tr>';
    }
    ?>
</table>
<form action="/admin/novoProfessor" method="post" >
    <p><input type="submit" class="button" value="Novo Professor" /></p>
</form>
